.class Lcom/example/m6wmr/PayBalanceAcivity$4;
.super Ljava/lang/Thread;
.source "PayBalanceAcivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/PayBalanceAcivity;->aouctpay()Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/PayBalanceAcivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/PayBalanceAcivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/PayBalanceAcivity$4;->this$0:Lcom/example/m6wmr/PayBalanceAcivity;

    .line 448
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 9

    .prologue
    .line 450
    invoke-super {p0}, Ljava/lang/Thread;->run()V

    .line 452
    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    .line 454
    .local v0, "msg":Landroid/os/Message;
    iget-object v6, p0, Lcom/example/m6wmr/PayBalanceAcivity$4;->this$0:Lcom/example/m6wmr/PayBalanceAcivity;

    .line 455
    const-string v7, "userInfo"

    const/4 v8, 0x0

    .line 454
    invoke-virtual {v6, v7, v8}, Lcom/example/m6wmr/PayBalanceAcivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v1

    .line 456
    .local v1, "preferences":Landroid/content/SharedPreferences;
    const-string v6, "uid"

    const-string v7, ""

    invoke-interface {v1, v6, v7}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 457
    .local v4, "uid":Ljava/lang/String;
    const-string v6, "pass"

    const-string v7, ""

    invoke-interface {v1, v6, v7}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 459
    .local v2, "pwd":Ljava/lang/String;
    new-instance v6, Ljava/lang/StringBuilder;

    iget-object v7, p0, Lcom/example/m6wmr/PayBalanceAcivity$4;->this$0:Lcom/example/m6wmr/PayBalanceAcivity;

    # getter for: Lcom/example/m6wmr/PayBalanceAcivity;->m:Lmyapp/MyApp;
    invoke-static {v7}, Lcom/example/m6wmr/PayBalanceAcivity;->access$5(Lcom/example/m6wmr/PayBalanceAcivity;)Lmyapp/MyApp;

    move-result-object v7

    invoke-virtual {v7}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 460
    const-string v7, "/index.php?ctrl=app&action=appacoutpay&orderid="

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    .line 461
    iget-object v7, p0, Lcom/example/m6wmr/PayBalanceAcivity$4;->this$0:Lcom/example/m6wmr/PayBalanceAcivity;

    # getter for: Lcom/example/m6wmr/PayBalanceAcivity;->order_id:Ljava/lang/String;
    invoke-static {v7}, Lcom/example/m6wmr/PayBalanceAcivity;->access$7(Lcom/example/m6wmr/PayBalanceAcivity;)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "&type="

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget-object v7, p0, Lcom/example/m6wmr/PayBalanceAcivity$4;->this$0:Lcom/example/m6wmr/PayBalanceAcivity;

    # getter for: Lcom/example/m6wmr/PayBalanceAcivity;->paytype:Ljava/lang/String;
    invoke-static {v7}, Lcom/example/m6wmr/PayBalanceAcivity;->access$8(Lcom/example/m6wmr/PayBalanceAcivity;)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "&cost="

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    .line 462
    iget-object v7, p0, Lcom/example/m6wmr/PayBalanceAcivity$4;->this$0:Lcom/example/m6wmr/PayBalanceAcivity;

    # getter for: Lcom/example/m6wmr/PayBalanceAcivity;->waitpay_cost:Ljava/lang/String;
    invoke-static {v7}, Lcom/example/m6wmr/PayBalanceAcivity;->access$9(Lcom/example/m6wmr/PayBalanceAcivity;)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "&uid="

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "&pwd="

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    .line 463
    const-string v7, "&datatype=json"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    .line 459
    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    .line 464
    .local v5, "url":Ljava/lang/String;
    const-string v6, "PayBalanceActivity"

    new-instance v7, Ljava/lang/StringBuilder;

    const-string v8, "acoutpay"

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v6, v7}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 465
    iget-object v6, p0, Lcom/example/m6wmr/PayBalanceAcivity$4;->this$0:Lcom/example/m6wmr/PayBalanceAcivity;

    # getter for: Lcom/example/m6wmr/PayBalanceAcivity;->m:Lmyapp/MyApp;
    invoke-static {v6}, Lcom/example/m6wmr/PayBalanceAcivity;->access$5(Lcom/example/m6wmr/PayBalanceAcivity;)Lmyapp/MyApp;

    move-result-object v6

    invoke-static {v5, v6}, LPlugclass/HttpConn;->getStr(Ljava/lang/String;Lmyapp/MyApp;)Ljava/lang/String;

    move-result-object v3

    .line 467
    .local v3, "str":Ljava/lang/String;
    iput-object v3, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 468
    const/16 v6, 0x64

    iput v6, v0, Landroid/os/Message;->arg1:I

    .line 469
    sget-object v6, Lcom/example/m6wmr/PayBalanceAcivity;->h:Landroid/os/Handler;

    invoke-virtual {v6, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 470
    return-void
.end method

.method public declared-synchronized start()V
    .locals 1

    .prologue
    .line 473
    monitor-enter p0

    :try_start_0
    invoke-super {p0}, Ljava/lang/Thread;->start()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 474
    monitor-exit p0

    return-void

    .line 473
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method
